﻿HmJS.$Import('base.drag.scroll');

HmJS.register('demo.module.moo.drag.scroll', function ($ns) {
	var that = {};

	that.todo = function () {

		var elements = $$('.scrollarea');

		new Drag.Scroll(elements[0], {
			axis: { x: true, y: true }
		});

		new Drag.Scroll(elements[1], {
			friction: 5
		});

	};

	return that;
});
